n,k = map(int,input().split())

print(str(k)*n)